Project Templates

Project Templates are used for the creation of new Knowledge Modules. The Template stored a list of user-defined Base Classes (including their user-defined properties, values and settings). The Template also stores a list of user-defined Categories (including their graphical icon and their Category Base Class Privs Table). Project Templates can be managed from via File - Knowledge Templates menu option of Knowledge Builder.

Project Templates are stored as (.xrt) files which, by default, reside in the Knowledge Module Templates sub-folder (under My Documents\XpertRule\XRKB\...). This sub-folder can be changed to point any folder location. (e.g. to a shared folder which can be accessed by of different developers)

A new Template can be created from any existing Knowledge Module via the Create Template From Selected Module button. If the Active Template is selected, then this template file will be automatically used to create all new Knowledge Modules. If an Active Template is not selected, then the list of available Templates will be presented to the developer to select from, whenever a new Knowledge Module is created.

Exported Knowledge Modules (.XRA) files can also be used as Project Templates in a similar way to (.XRT) template files. Whereas XRT files can only store Categories and Base Classes, XRA files can contain all types of objects including Procedures and Variables. To use an XRA file as a template it must be located in the Knowledge Module Templates sub-folder (where all the other XRT templates would be found). However, note that their file extension should remain unchanged (i.e. remain as .XRA).